#define _CRT_SECURE_NO_WARNINGS

#include<stdio.h>
#define SWAP(n) (((n&0xaaaaaaaa)>>1)+((n&0x55555555)<<1))
int main()
{

	int n = SWAP(10);
	printf("%d\n", n);
	return 0;
}